using System;
namespace ServiceStack.DataAnnotations
{
	public class StringLengthAttribute : AttributeBase
	{
		public const int MaxText = 2147483647;
		public int MinimumLength
		{
			get;
			set;
		}
		public int MaximumLength
		{
			get;
			set;
		}
		public StringLengthAttribute(int maximumLength)
		{
			this.MaximumLength = maximumLength;
		}
		public StringLengthAttribute(int minimumLength, int maximumLength)
		{
			this.MinimumLength = minimumLength;
			this.MaximumLength = maximumLength;
		}
	}
}
